package com.huaxin.hxmoduleworkorder.mapping;

import com.huaxin.hxmoduleworkorder.dto.request.MaintenanceOrderElectricianTaskProcessCreateReqDTO;
import com.huaxin.hxmoduleworkorder.models.MaintenanceOrderElectricianTaskProcess;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface MaintenanceOrderElectricianTaskProcessMapping {
    MaintenanceOrderElectricianTaskProcess toEntity(MaintenanceOrderElectricianTaskProcessCreateReqDTO in);

    List<MaintenanceOrderElectricianTaskProcess> toEntityList(List<MaintenanceOrderElectricianTaskProcessCreateReqDTO> in);
}